package com.housediyadmin.events.goodsEvents
{
	import flash.events.Event;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/17
	 */	
	public class DeleteGoodsByIDsEvent extends Event
	{
		public static const DELETE_GOODS_BY_IDS:String = "deleteGoodsByIds";
		
		public var goodsIds:Array;
		public var typeIds:Array;
		
		/**
		 * 根据goodsIds删除一条或多条Goods信息，并根据TypeIds返回对应的goods信息
		 * @param type 必选参数，DELETE_GOODS_BY_IDS
		 * @param goodsIds：Array 必选参数，为goodsId的集合
		 * @param typeIds：Array 必选参数，为typeId的集合
		 * 
		 */		
		public function DeleteGoodsByIDsEvent(type:String, goodsIds:Array, typeIds:Array)
		{
			super(type);
			this.goodsIds = goodsIds;
			this.typeIds = typeIds;
		}
		
		override public function clone():Event
		{
			return new DeleteGoodsByIDsEvent(type, goodsIds, typeIds);
		}
	}
}